﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ImageAnalysis;

namespace HCSAnalyzer.Classes.Base_Classes.Viewers._2D
{
    class cViewerImage : cComponent
    {
        public cViewerImage()
        {
            Title = "New Viewer Scatter";   
        }

        cImage InputData = null;

        public void SetInputData(cImage Input)
        {
            this.InputData = Input;
        }

        public cFeedBackMessage Run()
        {
            //cFeedBackMessage ToReturn = new cFeedBackMessage(true);

            cImageViewer NewView = new cImageViewer();
            NewView.SetImage(this.InputData);

            //cGlobalInfo GlobalInfo = null;
            //GlobalInfo.DisplayViewer(NewView);

            NewView.Display();

            return base.FeedBackMessage;
        }
    }
}
